//
//  LightsInfoVC.h
//  SuperLight
//
//  Created by Charlie Liao on 14-4-30.
//  Copyright (c) 2014年 Charlie Liao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Common.h"
#import "LightEntity.h"

typedef enum {
    modificationInfoType,
    addInfoType,
} LightsInfoType;

@interface LightsInfoVC : UIViewController
<
UITextFieldDelegate
>

@property (nonatomic, assign) LightsInfoType type;
@property (nonatomic, assign) int     index;
@property (nonatomic, copy) NSString* name;
@property (nonatomic, copy) NSString* addr;

@property (nonatomic, weak) IBOutlet UITextField* nameTextField;
@property (nonatomic, weak) IBOutlet UITextField* addrTextField;

@end
